package xcmg.device.dao.mapper.account;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.account.ArapDO;
import xcmg.device.service.vo.account.ArapVO;

import java.util.List;

@Mapper
public interface ArapMapper {

    int deleteByPrimaryKey(String id);

    int insert(ArapDO record);

    ArapDO selectByPrimaryKey(String id);

    ArapDO selectByAccOrgId(@Param("orgId")String orgId, @Param("accOrgId")String accOrgId, @Param("arapType")Integer arapType);

    int update(ArapDO record);

    List<ArapDO> findByIds(@Param("ids") List<String> ids);

    List<ArapDO> list(ArapVO arapVO);

    int listCount(ArapVO arapVO);

    ArapDO selectTotalReceive(ArapVO arapVO);

    int updateSelective(ArapDO record);
}